package cool.houge.pig.util;

/** @author KK (kzou227@qq.com) */
public class WrongTypeQueryParameterException extends RuntimeException {

  private final String parameterName;
  private final String parameterValue;

  /**
   * @param message
   * @param parameterName
   * @param parameterValue
   */
  public WrongTypeQueryParameterException(String message, String parameterName, String parameterValue) {
    super(message);
    this.parameterName = parameterName;
    this.parameterValue = parameterValue;
  }

  public String getParameterName() {
    return parameterName;
  }

  public String getParameterValue() {
    return parameterValue;
  }

  @Override
  public synchronized Throwable fillInStackTrace() {
    return this;
  }
}
